import axios from 'axios';
const  myRequest=axios.create({
    baseURL:'http://121.89.205.189:3000/api',
    timeout:6000
})
// 请求拦截器
myRequest.interceptors.request.use(config => {
    return config
  }, (error) => {
    console.log(error)
  })
 
//  响应拦截器
myRequest.interceptors.response.use(response => {
    return response
  }, (error) => {
    console.log(error)
  })

export default myRequest;